package com.lanou3g.ptp.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "评论")
public class Comment implements Serializable {

    @ApiModelProperty(name = "评论id", hidden = true)
    private Long id;

    @ApiModelProperty("评论")
    private String comment;

    @ApiModelProperty(name = "学生id", hidden = true)
    private Long studentId;

    @ApiModelProperty("日志id")
    private Long diaryId;

    @ApiModelProperty(name = "状态", hidden = true)
    private Integer status;

    @ApiModelProperty(name = "创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(name = "更新时间", hidden = true)
    private Date updateTime;

    @ApiModelProperty(name = "学生名字", hidden = true)
    private String studentName;

}
